using System;
using System.Collections.Generic;
using System.Text;
namespace Decision.BusinessLayer
{
    [Serializable]
	public class QueryMasTer_DECISION
	{

		#region InnerClass
		public enum QueryMasTer_DECISIONFields
		{
			RowAll,
			Row_No,
			DCS_MASTER_DECISION_ID,
			MASTER_ID,
			DECISION_TYPE_ID,
			DECISION_NAME
		}
		#endregion

		#region Data Members

			int? _rowAll;
			long? _row_No;
			int _dCS_MASTER_DECISION_ID;
			int? _mASTER_ID;
			int? _dECISION_TYPE_ID;
			string _dECISION_NAME;

		#endregion

		#region Properties

		public int?  RowAll
		{
			 get { return _rowAll; }
			 set
			 {
				 if (_rowAll != value)
				 {
					_rowAll = value;
					 PropertyHasChanged("RowAll");
				 }
			 }
		}

		public long?  Row_No
		{
			 get { return _row_No; }
			 set
			 {
				 if (_row_No != value)
				 {
					_row_No = value;
					 PropertyHasChanged("Row_No");
				 }
			 }
		}

		public int  DCS_MASTER_DECISION_ID
		{
			 get { return _dCS_MASTER_DECISION_ID; }
			 set
			 {
				 if (_dCS_MASTER_DECISION_ID != value)
				 {
					_dCS_MASTER_DECISION_ID = value;
					 PropertyHasChanged("DCS_MASTER_DECISION_ID");
				 }
			 }
		}

		public int?  MASTER_ID
		{
			 get { return _mASTER_ID; }
			 set
			 {
				 if (_mASTER_ID != value)
				 {
					_mASTER_ID = value;
					 PropertyHasChanged("MASTER_ID");
				 }
			 }
		}

		public int?  DECISION_TYPE_ID
		{
			 get { return _dECISION_TYPE_ID; }
			 set
			 {
				 if (_dECISION_TYPE_ID != value)
				 {
					_dECISION_TYPE_ID = value;
					 PropertyHasChanged("DECISION_TYPE_ID");
				 }
			 }
		}

		public string  DECISION_NAME
		{
			 get { return _dECISION_NAME; }
			 set
			 {
				 if (_dECISION_NAME != value)
				 {
					_dECISION_NAME = value;
					 PropertyHasChanged("DECISION_NAME");
				 }
			 }
		}


		#endregion

		#region not support PropertyChangeEvent

		protected virtual void PropertyHasChanged(string propertyName)
		{
			return;
		}

		#endregion
/********** not support Validation
		#region Validation

		internal override void AddValidationRules()
		{
			ValidationRules.AddRules(new Validation.ValidateRuleNotNull("DCS_MASTER_DECISION_ID", "DCS_MASTER_DECISION_ID"));
			ValidationRules.AddRules(new Validation.ValidateRuleStringMaxLength("DECISION_NAME", "DECISION_NAME",2147483647));
		}

		#endregion
********/

	}
}
